package model.base;


/**
 * @author  root
 */

//Usado Por ResourceDAO, UserHibernateDAO
public class User extends model.base.Resource {
    private String login;

    private String password;
    
    private String name;

    public User(long i) {
    	super.setResourceId(i);
    }
    
    public User() {
    }
    /**
	 * @return  the login
	 * @uml.property  name="login"
	 */
    public String getLogin() {
		return login;
	}

    /**
	 * @param login  the login to set
	 * @uml.property  name="login"
	 */
    public void setLogin(String val) {
		this.login = val;
	}

    /**
	 * @return  the password
	 * @uml.property  name="password"
	 */
    public String getPassword() {
		return password;
	}

    /**
	 * @param password  the password to set
	 * @uml.property  name="password"
	 */
    public void setPassword(String val) {
		this.password = val;
	}
    
    /**
	 * @return  the name
	 * @uml.property  name="name"
	 */
    public String getName() {
		return name;
	}

    /**
	 * @param name  the name to set
	 * @uml.property  name="name"
	 */
    public void setName(String val) {
		this.name = val;
	}

	/**
	 * Getter of the property <tt>email</tt>
	 * @return  Returns the email.
	 * @uml.property  name="email"
	 */
	public String getEmail() {
		return email;
	}


	/**
	 * @uml.property  name="email"
	 */
	private String email = "";

	/**
	 * Setter of the property <tt>email</tt>
	 * @param email  The email to set.
	 * @uml.property  name="email"
	 */
	public void setEmail(String email) {
		this.email = email;
	}
}
